var l = Object.defineProperty, m = Object.defineProperties;
var y = Object.getOwnPropertyDescriptors;
var c = Object.getOwnPropertySymbols;
var g = Object.prototype.hasOwnProperty, d = Object.prototype.propertyIsEnumerable;
var a = (o, t, e) => t in o ? l(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, p = (o, t) => {
  for (var e in t || (t = {}))
    g.call(t, e) && a(o, e, t[e]);
  if (c)
    for (var e of c(t))
      d.call(t, e) && a(o, e, t[e]);
  return o;
}, n = (o, t) => m(o, y(t));
import { ref as f } from "vue";
import { c as u } from "../component-87e22bdd.mjs";
import { c as h } from "../props-c0e5b20d.mjs";
/*!
* Vin UI 移动端 Vue3 组件库 v0.2.9 Fri Jun 02 2023 21:01:02 GMT+0800 (中国标准时间)
* (c) 2023 @vingogo.
* Released under the MIT License.
*/
const C = n(p({}, h), {
  // 分类模式
  type: {
    type: String,
    default: "classify"
  },
  // 左侧导航栏
  category: {
    type: Array,
    default: () => []
  }
}), { create: L } = u("category"), A = L({
  props: C,
  setup(o, { emit: t, slots: e }) {
    const r = f(0), i = f(!1);
    return {
      getChildList: (s) => {
        r.value = s, t("change", s);
      },
      checkIndex: r,
      categoryLeft: i
    };
  }
});
export {
  A as default
};
